﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Inf_vacunacion.aspx.vb" Inherits="SCHC.prueba_inf" 
Culture="es-AR" UICulture="Auto"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>

<form runat ="server"  >



  <script type="text/javascript" >
      function FechaSeleccionada(sender, args) {
          var txtClientID = '<%=txt_Vacunas_Hasta.ClientID%>';
          __doPostBack("txt_Vacunas_Hasta", document.getElementById(txtClientID).value);
      }

      function FechaSeleccionada2(sender, args) {
          var txtClientID = '<%=txt_Vacunas_Desde.ClientID%>';
          __doPostBack("txt_Vacunas_Desde", document.getElementById(txtClientID).value);
      }

    </script>

    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" 
      EnableScriptGlobalization="True">
    </ajaxToolkit:ToolkitScriptManager>

<br />


<div align="center"  >
        <asp:Panel ID="pnlVacunacion" Width ="50%" runat="server" >
            <table width ="100%" >
                <tr align="center">
          
                    <td colspan ="2">
                     <asp:Label id="lblVacunas" runat="server" Text="Vacunas"></asp:Label>
                     <br />
                        <asp:DropDownList id="cboVacunas" Width ="76%" runat="server">
                            <asp:ListItem Value="Porcentaje de pacientes vacunados"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr align="center">
                    <td>                
                       <asp:Label id="Label3" runat="server" Text="Desde"></asp:Label>
                       <br />
                        <asp:TextBox ID="txt_Vacunas_Desde" runat="server" MaxLength="10" Width="80px" 
                           ></asp:TextBox>
                        
                        <ajaxToolkit:CalendarExtender ID="CalendarExtender2"   
                            PopupButtonID="imgBtnDesde" TargetControlID ="txt_Vacunas_Desde"  
                            runat="server" TodaysDateFormat="d MMMM, yyyy" DaysModeTitleFormat=" yyyy" DefaultView="Years">
                        </ajaxToolkit:CalendarExtender>

                            <asp:ImageButton ID="imgBtnDesde" runat="server" 
                            ImageUrl="~/Imagenes/Calendar_scheduleHS.png"  CausesValidation="False" />     

                    </td>
                    <td>
                         <asp:Label id="Label4" runat="server" Text="Hasta"></asp:Label>
                         <br />
                        <asp:TextBox ID="txt_Vacunas_Hasta" runat="server" MaxLength="10" Width="80px" 
                             ></asp:TextBox>

                      <asp:ImageButton ID="IMgbtnFechaHasta" runat="server" 
                            ImageUrl="~/Imagenes/Calendar_scheduleHS.png"  CausesValidation="False" />

                        <ajaxToolkit:CalendarExtender ID="CalendarExtenderHasta"  
                             PopupButtonID ="IMgbtnFechaHasta"  TargetControlID ="txt_Vacunas_Hasta" 
                             runat="server" TodaysDateFormat="d MMMM, yyyy" DaysModeTitleFormat=" yyyy" 
                             DefaultView="Years">
                        </ajaxToolkit:CalendarExtender>
       

                

                
                    </td>
                </tr>
                 <tr align="center"  >    

                     <td colspan="2">
                      <br />

                         <asp:Label ID="lblMsjeGenerarVacunas" forecolor="Maroon" Visible ="false"  runat="server" Text=""></asp:Label>

                      </td>
                 </tr>
                  
       
                <tr align="center"  >    

                     <td colspan="2">
                      <br />

                     <asp:Button ID="btnGenerarVacunas" runat="server" Text="Generar" 
                               CausesValidation="False" style="height: 26px" />
                      </td>
                 </tr>
                     

            </table>
        </asp:Panel>
</div>

<hr />
<div  style ="background-color :#1286BF; height: 13px;">

</div>
<hr />

<br />


<table width ="100%" >
<tr valign ="middle"  >
<td align ="right"  >
    <asp:Panel ID="P_detallexSexo" BackColor ="Transparent" Visible ="false" Width ="100%"  runat="server">
          <img  runat="server" id="Img_Google" scr="" alt =""  />
    </asp:Panel>
</td>


<td style =" width :50%" align="left" >
     <asp:Chart ID="Chart1" style="background-color:transparent;" runat="server" 
                        Height="300px" Width="500px" BackColor="Transparent" 
                        BackImageTransparentColor="Transparent" 
                        BorderlineColor="Transparent" 
         TextAntiAliasingQuality="Normal" >
                </asp:Chart>
</td>

</tr>




</table>
<%--<div style="overflow:auto; width:100%; height:350px" >
<asp:GridView  Width ="100%" ID="gv_datos" runat="server" 
      CellPadding="4" ForeColor="#333333" GridLines="None">
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    <EditRowStyle BackColor="#999999" />
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"   HorizontalAlign="Center"  />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Center"     />
    <PagerStyle BackColor="#284775" ForeColor="White" 
        HorizontalAlign="Center"  />
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333"  HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#E2DED6" ForeColor="#333333" Font-Bold="True" />
    <SortedAscendingCellStyle BackColor="#E9E7E2" />
    <SortedAscendingHeaderStyle BackColor="#506C8C" />
    <SortedDescendingCellStyle BackColor="#FFFDF8" />
    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
</div>--%>

</form>
</body>
</html>
